package Agent;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

import Exception.ExceptionFreeAgent;
import Exception.ExceptionVM;
import MachineLearning.LinearRegression;
import SLA.SLA;


public interface Agent extends Remote{
	public void query(ArrayList<String> array, SLA sla, LinearRegression machine) throws RemoteException, ClassNotFoundException, SQLException,InterruptedException,ExceptionVM,ExceptionFreeAgent;
	public boolean isOn() throws RemoteException;
	public void setOn(boolean on) throws RemoteException;
}
